package com.example.aicompositiongrader.database;

import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity(tableName = "history_records")
public class HistoryRecord {
    @PrimaryKey(autoGenerate = true)
    public int id;

    public String originalText;
    public String feedbackJson;
    public long timestamp;

    public HistoryRecord(String originalText, String feedbackJson, long timestamp) {
        this.originalText = originalText;
        this.feedbackJson = feedbackJson;
        this.timestamp = timestamp;
    }
}
